/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rdr.metric;

/**
 *
 * @author ruanor
 */
public class Distance {
    private double distanceMts = 0;
    
    public Distance(double meters)
    {
        distanceMts = meters;
    }
    
    public Distance(double value, DistanceUnits unit)
    {
        
    }
    
    public double getMeters(){
        return distanceMts;
    }
    
    public double getKilometers(){
        return distanceMts * DistanceUnits.Kilometers.getMetersEquivalence();
    }
}
